cURL
curl --request GET \ --url https://api.freepik.com/v1/ai/image-expand/flux-pro/{task-id} \ --header 'x-freepik-api-key: <api-key>'
200
success - created task
{ "data": { "generated": [], "task_id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91", "status": "CREATED" }}
Your Freepik API key. Required for authentication. Learn how to obtain an API key
ID of the task
OK - The task exists and the status is returned
The response is of type object.
object
Was this page helpful?